/*
 * @Author: 张笑天
 * @Date: 2018-03-07 17:12:42
 * @Last Modified by: Theoton
 * @Last Modified time: 2018-06-12 11:20:01
 */
@prefixClass: wea-email-menu;
@fc: #333;
@h: 47px;
@bg: #fff;
@bgs: #0077d1;
@bd: 1px solid #e2e2e2;

.@{prefixClass} {
  .example {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .example;
  &-show {
    padding-left: 197px;
  }
  &-left {
    display: none;
    .wea-new-scroll {
      height: calc(~'100% - '47px) !important;
    }
  }
  .@{prefixClass}-left-show {
    display: block;
    width: 198px;
    height: 100%;
    float: left;
    margin-left: -198px;
    border-right: @bd;
    div.wea-menu-inline {
      background-color: @bg;
      .ant-menu-inline {
        background-color: @bg;
      }
      .ant-menu-item,
      .ant-menu-submenu-title {
        color: @fc;
        .wevicon {
          color: @fc
        }
        &:hover {
          background-color: @bgs !important;
        }
      }
      .wea-menu-selected {
        background-color: @bgs !important;
      }
    }
    .e9left-menu-email {
      height: @h;
      &-item {
        height: @h;
        line-height: @h;
        background-color: @bg;
        color: @fc;
        border-bottom: @bd;
        &:first-of-type {
          border-right: @bd;
        }
      }
    }
  }
  &-right {
    // .example;
    width: 100%;
    height: 100%;
    float: left;
    position: relative;
    >.wea-tab {
      position: absolute;
      top: 0;
      width: 100%;
    }
    .email-right-content {
      position: absolute;
      top:47px;
      width: 100%;
    }
  }
}